﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SGS.Logics.Data;

namespace SGS.Logics
{
    public class Workspace
    {
        public BasicData BasicData
        {
            get;
            set;
        }

        private Workspace()
        {
            //this.Init();
        }

        private void Init()
        {
            this.BasicData = new BasicData();

            this.BasicData.AccountCount = 5;
        }

        private static Workspace _Instance = null;
        public static Workspace Instance
        {
            get
            {
                if (_Instance == null)
                {
                    _Instance = new Workspace();
                    _Instance.Init();
                }
                return _Instance;
            }
        }
    }
}
